<?php
	class lop{
		public function add_lop($f_lop,$f_loaihinh,$f_ngaybatdau,$f_diadiemhoc,$f_phonghoc)
		{	
			$sql = "INSERT INTO tbl_lop(f_lop,f_loaihinh,f_ngaybatdau,f_diadiemhoc,f_phonghoc) VALUES ('$f_lop','$f_loaihinh','$f_ngaybatdau','$f_diadiemhoc','$f_phonghoc')";
$a=mysql_query($sql);
			if($a)
			{
			echo 'Thanh cong';
			}else{
			echo 'Khong thanh cong';
			}
		}
	}
?>